<?php if(!defined('TYPO3_MODE')) die('Access denied.'); ?>


<?php foreach($this->rows AS $row): ?>

    <div class="<?php echo $this->getCssClassName($row) ?>">

        <?php echo $this->getImageLink($row) ?>

        <div class="text">
            <?php echo $this->getTextLink($row) ?>
            <?php if($this->showFileinfo($row)): ?>
                <?php echo $this->render('fileinfo', array('row'=>$row,'noBrackets'=>true)) ?>
            <?php endif; ?>
            <?php if(!empty($row['description'])): ?>
                <span class="description"><?php echo $row['description'] ?></span>
            <?php endif; ?>
        </div>

    </div>

<?php endforeach; ?>